import request from '@/utils/request'

// 查询拜访客户列表
export function listCustomerSee(query) {
  return request({
    url: '/customer/customerSee/list',
    method: 'get',
    params: query
  })
}

// 查询拜访客户详细
export function getCustomerSee(customerSeeId) {
  return request({
    url: '/customer/customerSee/' + customerSeeId,
    method: 'get'
  })
}

// 新增拜访客户
export function addCustomerSee(data) {
  return request({
    url: '/customer/customerSee',
    method: 'post',
    data: data
  })
}

// 修改拜访客户
export function updateCustomerSee(data) {
  return request({
    url: '/customer/customerSee',
    method: 'put',
    data: data
  })
}

// 删除拜访客户
export function delCustomerSee(customerSeeId) {
  return request({
    url: '/customer/customerSee/' + customerSeeId,
    method: 'delete'
  })
}

// 导出拜访客户
export function exportCustomerSee(query) {
  return request({
    url: '/customer/customerSee/export',
    method: 'get',
    params: query
  })
}
